export class NewsSummary {
  private id: string;
  private title: string;
  private summary: string;

  constructor(id: string, title: string, summary: string) {
    this.id = id;
    this.title = title;
    this.summary = summary;
  }

  public getId(): string {
    return this.id;
  }

  public getTitle(): string {
    return this.title;
  }

  public getSummary(): string {
    return this.summary;
  }

  public setId(id: string): void {
    this.id = id;
  }

  public setTitle(title: string): void {
    this.title = title;
  }

  public setSummary(summary: string): void {
    this.summary = summary;
  }
}
